package com.sdx.console.activity.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.apache.commons.lang3.StringUtils;
import com.ibeetl.admin.core.util.ValidateConfig;
import com.sdx.service.ConfigService;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;
import com.sdx.common.utils.Utils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

/* 
* 
* gen by Spring Boot2 Admin 2019-05-24
*/
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class ActivityActionPoint extends BaseEntity{

    //活动id
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID	
    private Integer actId ;
	
    //动作代码 1、发祝福语，2、点赞祝福语，3、被点赞祝福语，4、邀请好友
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID	
    private Integer actCode ;
	
    //动作名称
    private String actName ;
	
    //积分类型 1、操作人加分；2、受益人加分
    private Integer pointType ;
	
    //积分值
    private Integer point ;
	
    //总数限制 0，表示无限制
    private Integer totalLimit ;
	
    //每日限制数量 0，表示无限制
    private Integer dailyLimit ;
	
    //创建时间
    private Date createdTime ;
	

}
